<template>
	<view>
		 <uni-card title="面试结果" v-for="(item,index) in list"
		 >
		 
		 	<text>面试人：{{stu.stuName}}<br></text>
			<text>	面试结果：{{item.mockInterviewResult==1 ?"未通过":"已通过"}}<br></text>
			<text>	面试时间：{{item.mockInterviewTime}}<br></text>
			<text>	面试老师：{{item.teacherId=1 ?"李政谦":"张三"}}<br></text>
				<u-parse :content="'老师意见：'+item.teacherAdvise" ></u-parse>
				学生总结：{{item.stuConclusion}}
			<button @click="compile(item.id)" style="width: 40%; text-align: center;">总结</button>
			
		</uni-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				stu:{},
				list:{},
				extraIcon:{
					size: '22',
					type: 'gear-filled'
			    }
				
			}
		},
		methods:{
			onClick(e){
				console.log(e)
			},
			getinfo(){
			    this.stu = uni.getStorageSync('stu');
				let stuId = this.stu.stuId;
				this.$axios.get("/mockinterview/mockInterview/lists?stuId="+stuId).then((res)=>{
					this.list = res.data.result;
				})
			},
			compile(id){
				uni.navigateTo({
					url: '/pages/service/practicaltrainingservice/studentssummarize?id='+id,
				});
			}
		},
		 created() {
			 this.getinfo();
			 }
	}
</script>

<style lang="less">
 
</style>
